@import './base.css';
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a,
.green {
  text-decoration: none;
  color: hsla(160, 100%, 37%, 1);
  transition: 0.4s;
  padding: 3px;
}

@media (hover: hover) {
  a:hover {
    background-color: hsla(160, 100%, 37%, 0.2);
  }
}

@media (min-width: 1024px) {
  body {
    display: flex;
    place-items: center;
  }

  #app {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 0 2rem;
  }
}

.quick-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quick-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: 100% !important;
  text-align: left !important;
  height: 44px !important;
  font-size: 18px !important;
  font-weight: 500 !important;
  border-radius: 8px !important;
  padding-left: 18px !important;
  padding-right: 18px !important;
  box-sizing: border-box !important;
}

.quick-btn .btn-icon {
  margin-right: 12px;
  font-size: 22px;
  display: flex;
  align-items: center;
}

.main-container {
  display: flex;
  width: 100vw;
  min-height: 100vh;
  margin: 0;
  background: #fff;
}

html, body, #app {
  margin: 0;
  padding: 0;
  width: 100vw;
  min-height: 100vh;
  box-sizing: border-box;
  background: #fff;
  overflow-x: hidden;
}

.layout-root {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.main-container {
  flex: 1;
  display: flex;
  min-height: 0; /* 关键，防止撑开 */
}

.main-content {
  flex: 1;
  min-width: 0;  /* 防止溢出 */
  min-height: 0; /* 防止撑开 */
  display: flex;
  flex-direction: column;
}

footer, .app-footer {
  height: 48px;
  line-height: 48px;
  background: #f5f5f5;
  color: #888;
  text-align: center;
  border-top: 1px solid #e0e0e0;
}